# 打印水仙花数
def is_armstrong_number(n):
    num_str = str(n)
    num_digits = len(num_str)
    sum_of_digits = sum(int(digit) ** num_digits for digit in num_str)
    return n == sum_of_digits
for i in range(100, 1000):
    if is_armstrong_number(i):
        print(i)
